//
//  User.swift
//  weibo1
//
//  Created by changhongliang on 2017/7/26.
//  Copyright © 2017年 richinfo. All rights reserved.
//


import UIKit

class User: NSObject {
    ///用户昵称
    var screen_name: String?
    ///用户头像地址(中国),50乘50像素
    var profile_image_url: String?
    ///会员等级 1~6
    var mbrank:Int = -1
    ///认证类型
    var verified_type: Int = -1
    
    init(dict:[String:AnyObject]){
        super.init()
        setValuesForKeys(dict)
    }
    override func setValue(_ value: Any?, forUndefinedKey key: String) {
        
    }
    override var description: String{
        let property = ["screen_name","profile_image_url","verified_type"]
        let dict = dictionaryWithValues(forKeys: property)
        return "\(dict)"
    }
    
    

}
